package cn.sciento.farm.devicemanager.gateway.model.lorawan;

/**
 * @author wumu
 * @version V1.0
 * @date 9/20/18
 * @time 6:27 PM
 */
public class DeviceAck {

    /**
     * applicationID : 123
     * applicationName : temperature-sensor
     * deviceName : garden-sensor
     * devEUI : 0202020202020202
     * acknowledged : true
     * fCnt : 12
     */

    private String applicationID;
    private String applicationName;
    private String deviceName;
    private String devEUI;
    private Boolean acknowledged;
    private Integer fCnt;

    public String getApplicationID() {
        return applicationID;
    }

    public void setApplicationID(String applicationID) {
        this.applicationID = applicationID;
    }

    public String getApplicationName() {
        return applicationName;
    }

    public void setApplicationName(String applicationName) {
        this.applicationName = applicationName;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDevEUI() {
        return devEUI;
    }

    public void setDevEUI(String devEUI) {
        this.devEUI = devEUI;
    }

    public Boolean getAcknowledged() {
        return acknowledged;
    }

    public void setAcknowledged(Boolean acknowledged) {
        this.acknowledged = acknowledged;
    }

    public Integer getfCnt() {
        return fCnt;
    }

    public void setfCnt(Integer fCnt) {
        this.fCnt = fCnt;
    }

    @Override
    public String toString() {
        return "DeviceAck{" +
                "applicationID='" + applicationID + '\'' +
                ", applicationName='" + applicationName + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", devEUI='" + devEUI + '\'' +
                ", acknowledged=" + acknowledged +
                ", fCnt=" + fCnt +
                '}';
    }
}
